home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / npurge11 / npurge.doc < prev    next >
Text File  |  1996-07-10  |  2KB  |  57 lines

  1. NPURGE:  Network Purge  V1.1
  2.  
  3. This program is a replacement for the Novell 386 purge program.  It purges 
  4. deleted files from the system based on age of deletion.
  5.  
  6.  
  7. Syntax:
  8.   npurge [-d <days>] [-h <hours>] [-m <minutes>] [-f] [-s] [-r] [<root>]
  9.  
  10.     -d <days>     Specify target age in days
  11.     -h <hours>    Specify target age in hours
  12.     -m <minutes>  Specify target age in minutes
  13.     -f            Force file times to midnight (use with -d)
  14.     -s            Process Subdirectories
  15.         -r                        Report only, do not purge files
  16.     <root>        The root directory at which to start the process.
  17.  
  18.  
  19. Requirements:
  20.   Novell 386 version (including 3.11)
  21.  
  22.   The program must be run from a network drive.
  23.  
  24.   The logged on user must have access rights to purge the files found
  25.     or the message "DENIED" will appear in front of files that cannot
  26.     be purged.
  27.  
  28.  
  29. Remarks:
  30.   Unless the -f option is used the age of a file is calculated up to the 
  31.   second. If you specify -d 1 then files that are 24 hours old or greater
  32.   are purged.  If you use the -f option to force file dates to midnight 
  33.   then the time of deletion becomes unimportant, just the date of deletion
  34.   matters.
  35.  
  36.   The -d, -h and -m parameters are additive.  Specifying -d 1 -m 10 sets the
  37.   target age to 1 day and 10 minutes.
  38.  
  39.     There are no longer a default run, you must specify command line arguments.
  40.  
  41.  
  42. Examples:
  43.  
  44.     npurge -d 2 -s \
  45.  
  46.         Will purge all files there we're deleted 48 or more hours ago.
  47.  
  48.     npurge -d 7 -f -s \
  49.         
  50.         Will purge all files that we're deleted 7 or more days ago (regardless
  51.         of the actual time of purge, only the date matters with -f)
  52.  
  53.     npurge -h 3 \user\steve
  54.         
  55.         Will purge all files that we're deleted 3 or more hours ago in the 
  56.         directory \user\steve, subdirectories are not processed (absence of -s).
  57.